Like the counting function, when several aggregations with grouping keys are used in a rule, the group and count operations must be cascaded as shown in figure 14.
与计数函数类似,当在一个规则中使用多个具有分组关键字的聚合,对分组与计数操作必须进行级联,如图14所示。
But we should count how many Nobel prize winners he educated in his group.
但我们应该数数,他培养出了多少诺贝尔获奖者。
Referring to our example, the aggregation information needs to contain the weighted sum of all values passed in so far (for that group) and the count for the number of values already processed.
按照例子的要求,聚集信息需要保存目前为止所有(该组)传入值的加权和,并保存已经处理过的数值的数量。
But we should count how many Nobel prize winners he educated in his group.
但我们应该数数,他培养出了多少诺贝尔获奖者。
应用推荐